<?php require __DIR__ . '/../inc_header.tpl.php';?>

<span class="layui-breadcrumb">
	<a href="<?php echo url(['platform','platform','index']);?>">控制台</a>
	<a href="">密码</a>
	<a><cite>修改</cite></a>
</span>

<div class="layui-tab layui-tab-brief">
  <ul class="layui-tab-title">
	<li class="layui-this"><a class="layui-this" href="<?php echo url(['platform','admin','index']);?>">用户管理</a></li>
  </ul>
</div>    

<form class="layui-form" action="<?php echo url(['platform','admin','password_save']);?>" method="post" style="max-width: 900px;margin: 40px auto;">
	<input type="hidden" name="id" value="<?php echo $ret['admin_id'];?>">
	<div class="layui-form-item">
		<label class="layui-form-label">昵称：</label>
		<div class="layui-input-block">
			<input type="text" name="name" placeholder="请输入昵称" class="layui-input" value="<?php echo $ret['name']?>" readonly lay-verify="required" required/>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">账号：</label>
		<div class="layui-input-block">
			<input type="text" name="login_account" placeholder="请输入账号" class="layui-input" value="<?php echo $ret['login_account']?>" readonly lay-verify="required" required/>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">* 密码：</label>
		<div class="layui-input-block">
			<input type="text" name="login_password" placeholder="请输入密码" class="layui-input" autocomplete="off" lay-verify="required" required/>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">* 确认密码：</label>
		<div class="layui-input-block">
			<input type="text" name="password2" placeholder="请确认密码" class="layui-input" autocomplete="off" lay-verify="required" required/>
		</div>
	</div>

	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" type="submit" lay-submit>&emsp;提交&emsp;</button>
		</div>
	</div>
</form>

<?php require __DIR__ . '/../inc_footer.tpl.php';?>